﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace StudentManager.View
{
    public partial class FormMain : Form
    {
        public FormMain()
        {
            InitializeComponent();
        }
        private void gIÁOVIÊNToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormDetail_Giaovien formGiaovien = new FormDetail_Giaovien();
            formGiaovien.Show();
        }
        private void tHOÁTToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            if (MessageBox.Show("Bạn có muốn thoát không ", "Thông Báo", MessageBoxButtons.OKCancel, MessageBoxIcon.Warning, MessageBoxDefaultButton.Button1) == DialogResult.OK)
            {
                Application.Exit();
            }
        }

        private void hỌCSINHToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormDetail_Hocsinh formHocsinh = new FormDetail_Hocsinh();
            formHocsinh.Show();
        }

        private void đĂNGXUẤTToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.DialogResult = DialogResult.Yes;
            this.Hide();
        }
    }
}
